import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { ParamSettingRoutingModule } from './param-setting-routing.module';
import { AppPaginationModule } from '../../widgets/pagination/pagination.module';
import { FormsModule } from '@angular/forms';
import { FlatpickrModule, FLATPICKR } from '../../../assets/angularx-flatpickr';
import * as flatpickr from 'flatpickr';
export function flatpickrFactory() {
  return flatpickr;
}
import { EngineModelComponent } from "./engine-model/engine-model.component";
import { EntryModelComponent } from "./entry-model/entry-model.component";

@NgModule({
  imports: [
    CommonModule,
    ParamSettingRoutingModule,
    FormsModule,
    AppPaginationModule,
    FlatpickrModule.forRoot({
      provide: FLATPICKR,
      useFactory: flatpickrFactory
    })
  ],
  declarations: [EngineModelComponent, EntryModelComponent]
})
export class ParamSettingModule { }
